projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
285ed41
)
* lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
author
Artur Malabarba
<bruce.connor.am@gmail.com>
Sun, 29 Nov 2015 21:14:19 +0000
(21:14 +0000)
committer
Artur Malabarba
<bruce.connor.am@gmail.com>
Sun, 29 Nov 2015 21:14:19 +0000
(21:14 +0000)
lisp/menu-bar.el
patch
|
blob
|
history
diff --git
a/lisp/menu-bar.el
b/lisp/menu-bar.el
index 42f48c784e1997cda2986ec4ee9777e184aa4dc1..b2146bed3bd61bc19ceaec23af842eb1b386c348 100644
(file)
--- a/
lisp/menu-bar.el
+++ b/
lisp/menu-bar.el
@@
-413,8
+413,9
@@
menu))
(defun menu-bar-goto-uses-etags-p ()
- (or (not (boundp 'xref-find-function))
- (eq xref-find-function 'etags-xref-find)))
+ (if (boundp 'xref-find-function)
+ (eq xref-find-function 'etags-xref-find)
+ t))
(defvar yank-menu (cons (purecopy "Select Yank") nil))
(fset 'yank-menu (cons 'keymap yank-menu))